<template>
  <el-row>
    <el-col :span="5">
      <el-input
        v-model="projectName"
        placeholder="请输入工程名称"
        clearable
      ></el-input>
    </el-col>
    <el-col class="search_btn" :span="3">
      <el-button type="primary">搜索</el-button>
    </el-col>
  </el-row>
  <el-row class="data_lists">
    <el-col class="project_box">
      <img src="../../assets/images/myproject/pro1.png" alt="" />
      <div class="pro_title">
        <span class="pro_name"> 北京项目 </span>
        <span class="pro_time"> 2023-07-31 </span>
      </div>
      <div class="pro_Nums">
        <div>
          <span>资料总数</span>
          <span>111</span>
        </div>
        <div>
          <span>已打印数量</span>
          <span>111</span>
        </div>
        <div>
          <span>单体工程数量</span>
          <span>111</span>
        </div>
      </div>
    </el-col>
    <el-col class="manage_btn">
      <el-button>工程管理</el-button>
      <el-button>资料管理</el-button>
    </el-col>
  </el-row>
</template>
<script setup>
import { ref } from "vue";
import leftTitleImg from "@/assets/images/myproject/leftTop.png";
import personImg from "@/assets/images/myproject/person.png";
import setImg from "@/assets/images/myproject/setImg.png";
const projectName = ref("");
</script>
<style scoped lang="scss">
.search_btn {
  margin-left: 10px;
}
.data_lists {
  width: 380px;
  padding: 10px;
  margin: 5px;
  border-radius: 5px;
  background: #ffffff;
  transition: box-shadow 0.5s linear, -webkit-box-shadow 0.5s linear;
  &:hover {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  }
  .project_box {
    width: 410px;
    max-width: 410px;
    text-align: left;
    > img {
      width: 100%;
    }
    > div {
      width: 100%;
      height: fit-content;
      text-align: left;
      display: flex;
      //justify-content: space-between;
      align-items: center;
      flex-direction: column;
      p {
        width: fit-content;
        height: 20px;
        font-size: 16px;
        color: black;
      }
      span {
        width: fit-content;
        height: 20px;
        font-size: 16px;
        color: black;
        img {
          width: 20px;
          height: 20px;
        }
      }
    }
    .pro_title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-direction: row;
      margin-top: 5px;
      span {
        color: #333333;
        line-height: 20px;
        height: 20px;
        width: fit-content;
        font-size: 14px;
      }
      .pro_name {
        color: #000000;
        font-size: 18px;
      }
    }
    .pro_Nums {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-direction: row;
      margin-top: 10px;
      div {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        span {
          color: #333333;
          font-size: 14px;
        }
      }
    }
  }
  .manage_btn {
    display: flex;
    justify-content: space-around;
    .el-button {
      width: 35%;
    }
  }
}
</style>
